package com.shop.cereshop.commons.domain.agentProduct;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 后台商品信息表实体类
 */
@Data
@TableName("cere_agent_product")
public class CereAgentProduct {

    @TableId(value = "agent_product_id", type = IdType.AUTO)
    private Long agentProductId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "卖点简介")
    private String productBrief;

    @ApiModelProperty(value = "商品描述（富文本）")
    private String productText;

    @ApiModelProperty(value = "关联分类id")
    private Long classifyId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "产地")
    private String productionPlace;

    @ApiModelProperty(value = "原产地")
    private String originProductionPlace;

    @ApiModelProperty(value = "生产日期")
    private LocalDateTime productionDate;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "起购数量")
    private Integer minBuyNum;

    @ApiModelProperty(value = "主图")
    private String mainImage;

    @ApiModelProperty(value = "逻辑删除 0-否 1-是")
    private Integer deleted;
}

